{yun:}include file="$wapstyle/member/header.htm"{/yun}

<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/wap_tck.css?v={yun:}$config.cachecode{/yun}" type="text/css">
<script src="{yun:}$wap_style{/yun}/js/resume.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.picker.min.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.poppicker.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/style.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/cmc.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/new_resume.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<script src="{yun:}$wap_style{/yun}/js/compress.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<div class="wap_member_comp_h1"><span>创建简历</span></div>
<div id="app" class="mui-views">
    <div class="mui-view">
        <div class="mui-pages"></div>
    </div>
</div>


<div id="main" class="mui-page">
    
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">

                 <div class="my_info">
                       <div class="info_hd">
                           <a class="jl_title" href="index.php?c=info">
                            <span>个人信息</span>
                            <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png"/>
                           </a>

                       </div>
                       <div class="info_bd">
                             <img class="my_avatar" src="../../../app/template/wap/images/my_avatar.png"/>
                             <div class="info_wapper">
                                 <div class="user_id">856319</div>
                                 <div class="user_info">
                                     <span><img src="../../../app/template/wap/images/jl_sex_icon.png" />男</span>
                                     <span><img src="../../../app/template/wap/images/jl_age_icon.png"/>22岁</span>
                                     <span><img src="../../../app/template/wap/images/yun_dx.png"/>上海</span>
                                 </div>
                                 <div class="tel_info">
                                     <img src="../../../app/template/wap/images/jl_tel_icon.png"/>15237968705
                                 </div>
                             </div>
                       </div>
                 </div>


                 <div class="expect_job">
                       <div class="row">
                             <div> 
                                <a class="jl_title" href="#jobclasshtml">
                                  <span class="expect_job_title">期望工作</span> 
                                   <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />
                                </a>
                            </div>
                            <div id="jobnameshow" class="expect_job_cont">
                            </div>

                            <input type="hidden" id="job_classid" />


                       </div>

                       <div class="row">
                          <a class="jl_title" href="#salaryhtml">
                               <span class="expect_job_title">期望薪资</span>
                               <span class="salary_cont" id="salaryshow">
                               </span>
                               <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />  
                         </a>
                       </div>
                       <div class="row">
                            <a class="jl_title" href="#cityclasshtml">
                              <span class="expect_job_title">期望城市</span>
                              <span id="citynameshow" class="city_cont"></span>
                               <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" /> 
                            </a>

                            <input type="hidden" id="city_classid" />


                       </div>
                       <div class="row">
                             <div>
                                <a class="jl_title" href="#jinenghtml">
                                 <span class="expect_job_title">技能优势</span>
                                 <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />
                                </a>

                             </div>
                             <div id="jinengshow" class="skill_cont">
                                <!--  <span>食品加工</span>
                                <span>收营员</span>
                                <span>品类管理</span> -->
                             </div>
                       </div>
                 </div>



                 <div class="resume_row3">
                       <div class="row">
                             <div class="jl_title"> 
                               <div class="jl_title" id="jobPicker">
                                  <span class="expect_job_title">从事过的职位</span> 
                                  <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />
                               </div>
                            </div>
                            <div id="jobnameshow1" class="expect_job_cont">

                               <!--  <span>店长/督导</span>
                               <span>营业员</span>
                               <span>理货员</span>
                               <span>售货员</span>
                               <span>导购员</span> -->
                                <div class="clear"></div>

                            </div>

                               <!--  <input type="hidden" name="job_classid" id="job_classid1" value="" /> -->

                              <input type="hidden" id="job1" name="job1" value="">
                              <input type="hidden" id="job1_son" name="job1_son" value="">
                              <input type="hidden" id="job_post" name="job_post" value="">

                       </div>

                       <div class="row jl_title" style="display: flex;">
                           <span class="expect_job_title">工作年限</span>
                           <span class="salary_cont" id='expPicker' style="flex:1;">
                               20年
                           </span>
                           <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" />

                          <input type="hidden" id="exp" name="exp" value="{yun:}$resume.exp{/yun}">
                       </div>
                       <div class="row jl_title" style="display: flex;">
                            <span class="expect_job_title">最高学历</span>
                            <span class="city_cont" id='eduPicker' style="flex:1;">本科</span>
                            <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png" /> 

                           <input type="hidden" id="edu" name="edu" value="{yun:}$resume.edu{/yun}">
                       </div>


                 </div>
                 <div class="my_introduce row">
                         <div class="info_hd">
                             <a class="jl_title" href="#introducehtml">
                               <span>个人介绍</span>
                                <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png"/>
                             </a>
                       </div>
                       <div class="info_bd">
                             <div class="introduce_txt">
                                 丰富的自我介绍有利于获得HR的好感，不要羞涩哦~
                               
                             </div>
                       </div>



                 </div>
                 <div class="my_picture" style="position: relative;">
                       <div class="info_hd">
                            <span>个人照片</span>
                            <span class="right_info">
                                
                                <span class="yunset_list_commentary" id="preview1show">
                          	        <img id="preview1img" src="{yun:}$resume.wxewm{/yun}" onerror="showImgDelay(this,'{yun:}$config.sy_weburl{/yun}/{yun:}$config.sy_member_ewm{/yun}',2);" style="border-radius:0px;width:20px;height:20px;">
                       	        </span>

                       	       <span>请上传图片</span>

                                <div class="yunset_list_file"> 
                        	       <input type="file" id="pic" name="pic" onchange="previewImage(this,'preview1')" accept="image/*">
                                </div>
                                 <img class="jt_img" src="../../../app/template/wap/images/cxyyou3.png"/>
                            </span>
                       </div>


                 </div>
                 <div class="job_lvli row">
                    
                         <div class="info_hd jl_title" style="display: flex;">
                            <span>个人履历</span>
                            <a  class="yun_wap_info_brief_tit_bc lvli_jt_img" href="#addnexthtml33" style="flex:1;height:40px;line-height:40px;">
                                <img src="../../../app/template/wap/images/cxyyou3.png"/>
                               
                            </a>
                        </div>

                 </div>
                 <div class="btn">
                 	  <a class="btn-baocun" href="" >保存</a>


                 </div>



            </div>
        </div>
    </div>
</div>


        <div id="introducehtml" class="mui-page">
        <div class="mui-page-content">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
             
                    <textarea id="introduce_cont"></textarea>

                     <a id="introduce_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>

                </div>
            </div>
        </div>
    </div>





     <div id="jinenghtml" class="mui-page">
        <div class="mui-page-content">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                   {yun:}foreach from=$jinengs  item=v{/yun}
                     
                    <input type="checkbox"  name="jineng[]" value="{yun:}$v.name{/yun}" />{yun:}$v.name{/yun}

                   {yun:}/foreach{/yun}


                     <a id="jineng_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>




                </div>
            </div>
        </div>
    </div>


    <script>
          $('#jineng_ok').on('click',function(){

                var sel_jn = $('input[name="jineng[]"]:checked');
                var jn_html = ``;
                sel_jn.each(function(i,v){
                    jn_html+=`<span>${v.value}</span>`
                });

               $('#jinengshow').html(jn_html);

          });


    </script>




<div id="addnexthtml33" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">

                  <div style="padding:15px;">
                 <!--  <input name="lv_value" type="radio" value="0" /> 屏蔽
                 <input name="lv_value" type="radio" value="1" /> 公开 -->
                  是否公开履历：
                 <div id="mySwitch" class="mui-switch">
                   <div class="mui-switch-handle"></div>
                </div>

                 <script type="text/javascript">
                      document.getElementById("mySwitch").addEventListener("toggle",function(event){
                          if(event.detail.isActive){
                            console.log("你启动了开关");
                          }else{
                            console.log("你关闭了开关");  
                          }
                        })

                 </script>

                    <a id="lvli_ok" class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>

                  </div>
            </div>
        </div>
    </div>
</div>



<div id="procontenthtml" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <div class="yun_wap_addresume_box_group">
                 <div class="yun_wap_addresume_box_nexttit">项目内容</div>
                    <div class="yun_wap_addresume_box_control_text">
                        <textarea name="procontent" id="procontent" style="width:100%;height:200px;" class="yun_wap_addresume_texttextAreaMsg" ></textarea>
                    </div>
                        <a class="yun_wap_info_brief_tit_bc mui-action-back"style="margin-top:0px;">确定</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="workcontenthtml" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <div class="yun_wap_addresume_box_group">
                <div class="yun_wap_addresume_box_nexttit">工作内容</div>
                    <div class="yun_wap_addresume_box_control_text">
                        <textarea name="workcontent" id="workcontent" style="width:100%;height:200px;" class="yun_wap_addresume_texttextAreaMsg"></textarea>
                    </div>
                        <a class="yun_wap_info_brief_tit_bc mui-action-back" style="margin-top:0px;">确定</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="protimehtml" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <ul class="yunset_list mt15">
                    <li><span class="yunset_list_name">开始时间</span > <span class="yunset_list_commentary"><button id='prosdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择开始时间</button>
                    <input type="hidden" id="prosdate" name="prosdate" value=""></span>

                    </li>
                    <li><span class="yunset_list_name">结束时间</span > <span class="yunset_list_commentary"><button id='proedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择结束时间</button>
                    <input type="hidden" id="proedate" name="proedate" value=""></span>
                    </li>
                </ul>
                <a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
            </div>
        </div>
    </div>
</div>
<div id="edutimehtml" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <ul class="yunset_list mt15">
                    <li><span class="yunset_list_name">入校时间</span > <span class="yunset_list_commentary"><button id='edusdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择入校时间</button>
                    <input type="hidden" id="edusdate" name="edusdate" value=""></span>

                    </li>
                    <li><span class="yunset_list_name">离校时间</span > <span class="yunset_list_commentary"><button id='eduedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择离校时间</button>
                    <input type="hidden" id="eduedate" name="eduedate" value=""></span>
                    </li>
                </ul>
                <a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
            </div>
        </div>
    </div>
</div>
<div id="worktimehtml" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <ul class="yunset_list mt15">
                    <li><span class="yunset_list_name">入职时间</span > <span class="yunset_list_commentary"><button id='worksdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择入职时间</button>
                    <input type="hidden" id="worksdate" name="worksdate" value=""></span>

                    </li>
                    <li><span class="yunset_list_name">离职时间</span > <span class="yunset_list_commentary"><button id='workedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择离职时间</button>
                    <input type="hidden" id="workedate" name="workedate" value=""></span>
                    </li>
                    <li class="yunset_list_text">
                        <span class="yunset_list_name" style="width:150px;">至今<em class="yunset_xttip"></em></span>
                        <div class="yunset_kg_box">
                            <div class="yunset_kg">
                                <div class="mui-switch mui-switch-mini totoday">
                                    <div class="mui-switch-handle"></div>
                                </div>
                                <input type="hidden" id="totoday" name="totoday" value="">
                            </div>
                        </div>
                    </li>
                </ul>
                <a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
            </div>
        </div>
    </div>
</div>


<!--期望的工作 选择 start-->

<div id="jobclasshtml" class="mui-page">
    <div class="mui-page-content">
        <div style="height:570px;">
            <div class="grade_tit">选择工作职能 (可多选)</div>
            <div class="grade-eject grade-w-roll">
                <ul class="grade-w" id="jobone">
                    {yun:}foreach from=$job_index item=v{/yun}
                    <li data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</li>
                    {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-t" id="jobtwo">
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="jobtwo job{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$job_name[$vv]{/yun}</li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-s" id="jobthree">
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li id="jobtwo{yun:}$vv{/yun}" class="jobthree job{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="jobcheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if !in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="jobthree job{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$job_name[$vv]{/yun}</label><input class="jobthreebox jobcheck{yun:}$key{/yun}" id="jobthree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
            </div>
            <div class="grade_chlose_box">
                <div class="grade_chlose_box_c">
                    <span class="grade_chlose_box_c_name">已选</span>
                    <div class="mui-slider">
                        <div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
                            <div id="jobchoosed" class="mui-scroll" style="background:#fff;height:20px;">
                                {yun:}foreach from=$job_classid item=v{/yun}
                                <a class="grade_chlose_box_a" data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</a>
                                {yun:}/foreach{/yun}
                            </div>
                        </div>
                    </div>
                </div>
                <a class="grade_chlose_bth mui-action-back">确定 <span id="jobpencent" class="{yun:}if !$job_classid{/yun}none{yun:}/if{/yun}">{yun:}count($job_classid){/yun}/5</span></a>
            </div>
        </div>
    </div>
</div>


<!--期望的工作 选择 end -->



<!--从事过的职位 选择 start-->

<!-- 
<div id="jobclasshtml1" class="mui-page">
    <div class="mui-page-content">
        <div style="height:570px;">
            <div class="grade_tit">选择工作职能 (可多选)</div>
            <div class="grade-eject grade-w-roll">
                <ul class="grade-w" id="jobone1">
                    {yun:}foreach from=$job_index item=v{/yun}
                    <li data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</li>
                    {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-t" id="jobtwo1">
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="jobtwo1 joba{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$job_name[$vv]{/yun}</li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-s" id="jobthree1">
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li id="jobtwo{yun:}$vv{/yun}" class="jobthree1 joba{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="jobcheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                {yun:}foreach from=$job_type key=key item=v{/yun}
                    {yun:}if !in_array($key,$job_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="jobthree1 joba{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$job_name[$vv]{/yun}</label><input class="jobthreebox jobcheck{yun:}$key{/yun}" id="jobthree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
            </div>
            <div class="grade_chlose_box">
                <div class="grade_chlose_box_c">
                    <span class="grade_chlose_box_c_name">已选</span>
                    <div class="mui-slider">
                        <div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
                            <div id="jobchoosed1" class="mui-scroll" style="background:#fff;height:20px;">
                                {yun:}foreach from=$job_classid item=v{/yun}
                                <a class="grade_chlose_box_a" data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</a>
                                {yun:}/foreach{/yun}
                            </div>
                        </div>
                    </div>
                </div>
                <a class="grade_chlose_bth mui-action-back">确定 <span id="jobpencent1" class="{yun:}if !$job_classid{/yun}none{yun:}/if{/yun}">{yun:}count($job_classid){/yun}/5</span></a>
            </div>
        </div>
    </div>
</div> -->


<!--从事过的职位  选择 end -->




<div id="cityclasshtml" class="mui-page">
    <div class="mui-page-content">
        <div style="height:570px;">
            <div class="grade_tit">选择城市(可多选)</div>
            <div class="grade-eject grade-w-roll">
                <ul class="grade-w" id="cityone">
                    {yun:}foreach from=$city_index item=v{/yun}
                    <li data-id="{yun:}$v{/yun}">{yun:}$city_name[$v]{/yun}</li>
                    {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-t" id="citytwo">
                {yun:}foreach from=$city_type key=key item=v{/yun}
                    {yun:}if in_array($key,$city_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="citytwo city{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$city_name[$vv]{/yun}</li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
                <ul class="grade-s" id="citythree">
                {yun:}foreach from=$city_type key=key item=v{/yun}
                    {yun:}if in_array($key,$city_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li id="citytwo{yun:}$vv{/yun}" class="citythree city{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="citycheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                {yun:}foreach from=$city_type key=key item=v{/yun}
                    {yun:}if !in_array($key,$city_index){/yun}
                        {yun:}foreach from=$v item=vv{/yun}
                        <li class="citythree city{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$city_name[$vv]{/yun}</label><input class="citythreebox citycheck{yun:}$key{/yun}" id="citythree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
                        {yun:}/foreach{/yun}    
                    {yun:}/if{/yun}
                {yun:}/foreach{/yun}
                </ul>
            </div>
            <div class="grade_chlose_box">
                <div class="grade_chlose_box_c">
                    <span class="grade_chlose_box_c_name">已选</span>
                    <div class="mui-slider">
                        <div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
                            <div id="citychoosed" class="mui-scroll" style="background:#fff;height:20px;">
                                {yun:}foreach from=$city_classid item=v{/yun}
                                <a class="grade_chlose_box_a">{yun:}$city_name[$v]{/yun}</a>
                                {yun:}/foreach{/yun}
                            </div>
                        </div>
                    </div>
                </div>
                <a class="grade_chlose_bth mui-action-back">确定<span id="citypencent" class="{yun:}if !$city_classid{/yun}none{yun:}/if{/yun}">{yun:}count($city_classid){/yun}/5</span></a>
            </div>
        </div>
    </div>
</div>


<div id="salaryhtml" class="mui-page">
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll wap_member">
                <ul class="yunset_list">
                    <li class="yunset_list_text"><span class="yunset_list_name">最低薪资</span>
                        <div class="yunset_list_xzbox">
                            <input type="number" id="minsalary" value="" placeholder="请输入最低薪资" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')">
                            <span class="yunset_list_xz">元/月</span>
                        </div>
                    </li>
                    <li class="yunset_list_text"><span class="yunset_list_name">最高薪资<font color="#999">(选填)</font></span>
                        <div class="yunset_list_xzbox">
                            <input type="number" id="maxsalary" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" value="" placeholder="请输入最高薪资">

                            <span class="yunset_list_xz">元/月</span> </div>
                    </li>
                </ul>
                <a class="yun_wap_info_brief_tit_bc mui-action-back new_back_btn">确定</a>
            </div>
        </div>
    </div>
</div>

<input type='hidden' id='resume_edu' value='{yun:}$config.resume_create_edu{/yun}'>
<input type='hidden' id='resume_exp' value='{yun:}$config.resume_create_exp{/yun}'>
<input type='hidden' id='resume_pro' value='{yun:}$config.resume_create_project{/yun}'>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.picker.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.poppicker.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.view.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script language="javascript">
    var sexData = [];
    '{yun:}foreach from=$arr_data.sex key=j item=v{/yun}'
    sexData.push({
        value: '{yun:}$j{/yun}',
        text: '{yun:}$v{/yun}'
    })
    '{yun:}/foreach{/yun}'
    var eduData = [];
    '{yun:}foreach from=$userdata.user_edu key=j item=v{/yun}'
    eduData.push({
        value: '{yun:}$v{/yun}',
        text: '{yun:}$userclass_name[$v]{/yun}'
    })
    '{yun:}/foreach{/yun}'
    var expData = [];
    '{yun:}foreach from=$userdata.user_word key=j item=v{/yun}'
    expData.push({
        value: '{yun:}$v{/yun}',
        text: '{yun:}$userclass_name[$v]{/yun}'
    })
    '{yun:}/foreach{/yun}';
    var hyData = [];
    '{yun:}foreach from=$industry_index item=v{/yun}'
    hyData.push({
        value: '{yun:}$v{/yun}',
        text: '{yun:}$industry_name[$v]{/yun}'
    })
    '{yun:}/foreach{/yun}'
    var typeData = [];
    '{yun:}foreach from=$userdata.user_type item=v{/yun}'
    typeData.push({
        value: '{yun:}$v{/yun}',
        text: '{yun:}$userclass_name[$v]{/yun}'
    })
    '{yun:}/foreach{/yun}'
/*    var reportData = [];
    '{yun:}foreach from=$userdata.user_report item=v{/yun}'
    reportData.push({
        value: '{yun:}$v{/yun}',
        text: '{yun:}$userclass_name[$v]{/yun}'
    })
    '{yun:}/foreach{/yun}'*/
    var jobstatusData = [];
    '{yun:}foreach from=$userdata.user_jobstatus item=v{/yun}'
    jobstatusData.push({
        value: '{yun:}$v{/yun}',
        text: '{yun:}$userclass_name[$v]{/yun}'
    })
    '{yun:}/foreach{/yun}'
    mui.init();
    var viewApi = mui('#app').view({
        defaultPage: '#main'
    });
    
    var view = viewApi.view;
    (function($) {
        
        mui('.mui-scroll-wrapper').scroll({
            scrollY: true, 
            scrollX: false, 
            startX: 0, 
            startY: 0, 
            indicators: false, 
            deceleration: 0.0006, 
            
        });
        
        var oldBack = $.back;
        $.back = function() {
            if(viewApi.canBack()) { 
                viewApi.back();
            } else { 
                oldBack();
            }
        };
    })(mui);
    
    view.addEventListener('pageBeforeShow', function(e) {
        document.activeElement.blur();
    });
    view.addEventListener('pageBeforeBack', function(e) {
        var salaryshow = ''
        var minsalary = document.getElementById('minsalary').value;
        var maxsalary = document.getElementById('maxsalary').value;
        if(minsalary) {
            salaryshow = minsalary;
            if(maxsalary) {
                salaryshow += '-' + maxsalary +'元/月';
            } else {
                salaryshow += '元以上/月';
            }
            if(parseInt(maxsalary)>0 && parseInt(maxsalary) < parseInt(minsalary)) {
                document.getElementById('minsalary').value = '';
                document.getElementById('maxsalary').value = '';
                document.getElementById('salaryshow').innerText = '';
                return mui.toast('最低薪资不能比最高薪资高，请重新填写');
            }
            document.getElementById('salaryshow').innerText = salaryshow;
        }
        var worksdate = document.getElementById('worksdate').value;
        var workedate = document.getElementById('workedate').value;
        var totoday = document.getElementById('totoday').value;
        if(worksdate && (workedate||totoday)) {
            if(totoday){
                document.getElementById('worktimeshow').innerText = worksdate + '-至今';
            }else{
                document.getElementById('worktimeshow').innerText = worksdate + '-' + workedate;
            }
            
        }
        var workcontent = document.getElementById('workcontent').value;
        if(workcontent) {
            document.getElementById('workcontentshow').innerText = workcontent;
        }
        var edusdate = document.getElementById('edusdate').value;
        var eduedate = document.getElementById('eduedate').value;
        if(edusdate && eduedate) {
            document.getElementById('edutimeshow').innerText = edusdate + '-' + eduedate;
        }
        var prosdate = document.getElementById('prosdate').value;
        var proedate = document.getElementById('proedate').value;
        if(prosdate && proedate) {
            document.getElementById('protimeshow').innerText = prosdate + '-' + proedate;
        }
        var procontent = document.getElementById('procontent').value;
        if(procontent) {
            document.getElementById('procontentshow').innerText = procontent;
        }
    });
    mui('.totoday').each(function() {
        this.addEventListener('toggle', function(event) {
            if(event.detail.isActive){
                document.getElementById('workedateComPicker').disabled=true;
                document.getElementById('workedateComPicker').innerText="{yun:}time()|date_format:'%Y-%m'{/yun}"
                document.getElementById('totoday').value=1;
            }else{
                document.getElementById('totoday').value='';
                document.getElementById('workedateComPicker').disabled=false;
                document.getElementById('workedateComPicker').innerText="请选择离职时间"
            }
        });
    });
    $(function() {
        if(document.getElementById('main')){
            document.getElementById('main').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
        }
        if(document.getElementById('addnexthtml')){
            document.getElementById('addnexthtml').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
        }
        if(document.getElementById('addnexttwohtml')){
            document.getElementById('addnexttwohtml').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
        }
        mui('.yunset_bth_box').on('tap', '.addnext',  function() {
            var uname = $.trim(document.getElementById('uname').value),
                sex = $.trim(document.getElementById('sex').value),
                birthday = $.trim(document.getElementById('birthday').value),
                edu = $.trim(document.getElementById('edu').value),
                exp = $.trim(document.getElementById('exp').value),
                telphone = $.trim(document.getElementById('telphone').value),
                email = $.trim(document.getElementById('email').value),
                living = $.trim(document.getElementById('living').value);
            if(uname == "") {
                mui.toast('请输入真实姓名！');return false;
            }
            if(sex== '') {
                 mui.toast('请选择性别！');return false;
            }
            if(birthday== '') {
                 mui.toast('请选择出生年月！');return false;
            }
            if(living== '') {
                 mui.toast('请输入现居住地！');return false;
            }
            if(edu== '') {
                 mui.toast('请选择最高学历！');return false;
            }
            if(exp== '') {
                 mui.toast('请选择工作经验！');return false;
            }
            if(telphone== '') {
                 mui.toast('请输入手机号码！');return false;
            } else {
                var reg = /^[1][3456789]\d{9}$/; 
                 if(!reg.test(telphone)){
                     mui.toast('手机号码格式错误！');return false;
                 }
            }
            var myreg = /^([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9\-]+@([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
            if(email!="" && !myreg.test(email)){
                 mui.toast('邮箱格式错误！');return false;
            }
        })
        mui('.yunset_bth_box').on('tap', '.addnexttwo',  function() {
            var name = $.trim(document.getElementById('name').value),
                hy = $.trim(document.getElementById('hy').value),
                job_classid = $.trim(document.getElementById('job_classid').value),
                city_classid = $.trim(document.getElementById('city_classid').value),
                minsalary = $.trim(document.getElementById('minsalary').value),
                maxsalary = $.trim(document.getElementById('maxsalary').value),
                report = $.trim(document.getElementById('report').value),
                type = $.trim(document.getElementById('type').value),
                jobstatus = $.trim(document.getElementById('jobstatus').value);
            if(hy== "") {
                mui.toast("请选择从事行业！");return false;
            }
            if(job_classid== "") {
                 mui.toast('请选择工作职能！');return false;
            }
            if(name== "") {
                 mui.toast('请输入期望岗位！');return false;
            }
            if(minsalary== "") {
                 mui.toast('请输入期望薪资！');return false;
            }
            if(maxsalary) {
                if(parseInt(maxsalary)>0 && parseInt(maxsalary) <= parseInt(minsalary)) {
                     mui.toast('最高薪资必须大于最低薪资！');return false;
                }
            }
            if(city_classid == "") {
                 mui.toast('请选择期望城市！');return false;
            }
            if(type== "") {
                 mui.toast('请选择工作性质！');return false;
            }
            if(report== "") {
                mui.toast('请选择到岗时间！');return false;
            }
            if(jobstatus== "") {
                mui.toast('请选择求职状态！');return false;
            }
        })
        mui('.yunset_bth_box').on('tap', '#resumesubmit', addresume);
    });
    var jn = [];
    '{yun:}foreach from=$job_name key=key item=v{/yun}';
    jn['{yun:}$key{/yun}']='{yun:}$v{/yun}';
    '{yun:}/foreach{/yun}';
    var cn = [];
    '{yun:}foreach from=$city_name key=key item=v{/yun}';
    cn['{yun:}$key{/yun}']='{yun:}$v{/yun}';
    '{yun:}/foreach{/yun}';
</script>

<script src="{yun:}$config.sy_weburl{/yun}/data/plus/job.cache.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/category.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/publicselect.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/cmc.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script>
    var second = 0;
    window.setInterval(function () {
        second ++;
    }, 1000);

    var url     = location.href, 
        refer   = document.referrer, 
        timeIn  = Math.ceil(new Date().getTime()/1000); 
    
    $(function(){
        setTimeout(function(){ 
            $.post('index.php?c=userLog',{url:url,refer:refer,timeIn:timeIn,second:2,opera:22},function(data){
                if(data){
                    $("#logid").val(data);
                }
            })
        },2000);
        
    }) 
    
    window.onbeforeunload = function(){
        var logid = $("#logid").val();
        if(second>2){ 
            $.post('index.php?c=gxUserLog',{id:logid,second:second},function(data){
                if(data) {
                    return false;
                }
            })
        }
    }
</script>
{yun:}include file="$wapstyle/footer.htm"{/yun}
